From c62df4f77ba06dff898786ba09b8b9d6c6039a73 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 31 Aug 2003 16:43:54 +0000 Subject: [PATCH] (srcdir): Use "command.com /c cd" to produce an absolute file name of the current working directory. This avoids the warning from Make about circular dependencies. --- msdos/sed3v2.inp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msdos/sed3v2.inp b/msdos/sed3v2.inp index c856ad77ae6..0390ee39e01 100644 --- a/msdos/sed3v2.inp +++ b/msdos/sed3v2.inp @@ -24,7 +24,7 @@ /^archlibdir *=/s!=.*$!=/emacs/bin! /^bindir *=/s!=.*$!=/emacs/bin! /^libdir *=/s!=.*$!=/emacs/bin! -/^srcdir *=/s!=.*$!=.! +/^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))! /^VPATH *=/s!=.*$!=.! /^CFLAGS *=/s!=.*$!=-O2 -g! /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! -- 2.30.2